package com.gxa.client_shoppings.service.impl;

import com.gxa.client_shoppings.mapper.DisplayMapper;
import com.gxa.client_shoppings.pojo.Display;
import com.gxa.client_shoppings.service.DisplayService;
import com.gxa.client_shoppings.utils.JsonResult;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author smile_ZhongXuan
 * @Date 2020/11/13 14:49
 * @Version 1.0
 */
@Service("displayService")
public class DisplayServiceImpl implements DisplayService {

    @Resource
    DisplayMapper displayMapper = null;
    JsonResult jsonResult = new JsonResult();

    @Override
    public Integer displaySetUp(Display display) {
        return displayMapper.insertSelective(display);
    }
}
